/*
	This file is part of AVRCppLib.

    AVRCppLib is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    AVRCppLib is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with AVRCppLib.  If not, see <http://www.gnu.org/licenses/>.

    Copyright (C) Maxime Lemonnier 2007-2011
 */

#include "Compatibility/Timer16bist3OCRCompatibility.h"

namespace Timers
{




Timer16bits3OCR::Timer16bits3OCR(IOAddress tccra, uint8_t comaMask, uint8_t combMask, uint8_t comcMask, uint8_t wgmLSBMask,
		IOAddress tccrb, uint8_t wgmMSBMask, uint8_t csMask,
		IOAddress tccrc,
		IOAddress16 tcnt, IOAddress16 ocra, IOAddress16 ocrb, IOAddress16 ocrc, IOAddress16 icr,
		IOAddress timsk, uint8_t toie, uint8_t toieCallbackVectorNumber, uint8_t ociea, uint8_t ocieaCallbackVectorNumber, uint8_t ocieb, uint8_t ociebCallbackVectorNumber, uint8_t ociec, uint8_t ociecCallbackVectorNumber, uint8_t icie, uint8_t icieCallbackVectorNumber,
		IOAddress tifr, uint8_t tov, uint8_t ocfa, uint8_t ocfb, uint8_t ocfc, uint8_t icf) :
	tccra(tccra),  tccrb(tccrb),  tccrc(tccrc),
	counter(toieCallbackVectorNumber, tcnt, tccrb, csMask, timsk, toie, tifr, tov),
	comparatorA(ocieaCallbackVectorNumber, ocra, tccra, comaMask, timsk, ociea, tifr, ocfa),
	comparatorB(ociebCallbackVectorNumber, ocrb, tccra, combMask, timsk, ocieb, tifr, ocfb),
	comparatorC(ociecCallbackVectorNumber, ocrc, tccra, comcMask, timsk, ociec, tifr, ocfc),
	capturer(icieCallbackVectorNumber, icr, tccrb, timsk, icie, tifr, icf)
{
	// TODO Auto-generated constructor stub

}

Timer16bits3OCR::~Timer16bits3OCR()
{
	// TODO Auto-generated destructor stub
}

}
